﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace OgilvyOne.UKNow.Model
{
  //   [Serializable]
  //   [DataContract]
  //public  class PhoneImage
  //  {
         
  //      string name;
  //       [DataMember(Name = "name")]
  //       public string Name
  //       {
  //           get { return name; }
  //           set { name = value; }
  //       }
  //       string url;
  //       [DataMember(Name = "url")]
  //       public string Url
  //       {
  //           get { return url; }
  //           set { url = value; }
  //       }

  //  }

    [Serializable]
    [DataContract]
    public class PhoneImage
    {
        /// <summary>
        /// 原图片的文件名
        /// </summary>
        [DataMember(Name = "url")]
        public string Imagpath { get; set; }

        /// <summary>
        /// 缩略图片图片名
        /// </summary>
        [DataMember(Name = "thumburl")]
        public string Thumbpath { get; set; }

        /// <summary>
        /// 显示的文字
        /// </summary>
        [DataMember(Name = "name")]
        public string Imagename { get; set; }
    }

}
